Crate tetsy_libp2p_mdns[][src]

mDNS is a protocol defined by RFC 6762 that allows querying nodes that correspond to a certain domain name.

In the context of tetsy-libp2p, the mDNS protocol is used to discover other nodes on the local network that support tetsy-libp2p.

Usage

This crate provides the Mdns struct which implements the NetworkBehaviour trait. This struct will automatically discover other tetsy-libp2p nodes on the local network.

Structs

Mdns

A NetworkBehaviour for mDNS. Automatically discovers peers on the local network and adds them to the topology.

MdnsConfig

Enums

MdnsEvent

Event that can be produced by the Mdns behaviour.